<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>时间轴-${web.wtitle}时间轴</title>
    <meta name="keywords" content="${web.wkeywords}" />
    <meta name="description" content="${web.wdescription}" />
 <%@ include file="common/head.jsp" %>
 	<script type="text/javascript" src="/layui/layui.js"></script>
    <!--[if lt IE 9]>
    <script src="js/modernizr.js"></script>
    <![endif]-->
    </head>
    <body>
  


        <!--top begin-->
<jsp:include page="top.jsp"/>
<!-- top end -->
    <article>
      <div class="whitebg timebox">
     <h2 class="htitle">往期文章</h2>
    <ul id="list" >
    <c:forEach items="${headline}" var="b" begin="0" end="29">
       <li><span><fmt:formatDate value="${b.leasedaet}" pattern="yyyy-MM-dd  HH:mm:ss"/></span><i><a href="/blogcontent.html?id=${b.id}" target="_blank">${b.summary}</a></i></li>
      </c:forEach>
    </ul>
     <ul id="list2">
      </ul>
    <div class="clear"></div>
      <script src="/js/page2.js"></script> 
        <jsp:include page="toobar.jsp"></jsp:include>
      </div>
    </article>
    
<!-- footer start -->
<jsp:include page="footer.jsp"></jsp:include>
  <!-- footer end -->
    </body>
    <script type="text/javascript">
   	function formatTime(datetime, fmt) {
			if (datetime == null || datetime == 0) {
				return "";
			}
			if (parseInt(datetime) == datetime) {
				if (datetime.length == 10) {
					datetime = parseInt(datetime) * 1000;
				} else if (datetime.length == 13) {
					datetime = parseInt(datetime);
				}
			}
			datetime = new Date(datetime);
			var o = {
				"M+" : datetime.getMonth() + 1, //月份   
				"d+" : datetime.getDate(), //日   
				"h+" : datetime.getHours(), //小时   
				"m+" : datetime.getMinutes(), //分   
				"s+" : datetime.getSeconds(), //秒   
				"q+" : Math.floor((datetime.getMonth() + 3) / 3), //季度   
				"S" : datetime.getMilliseconds()
			//毫秒   
			};
			if (/(y+)/.test(fmt))
				fmt = fmt.replace(RegExp.$1, (datetime.getFullYear() + "")
						.substr(4 - RegExp.$1.length));
			for ( var k in o)
				if (new RegExp("(" + k + ")").test(fmt))
					fmt = fmt.replace(RegExp.$1,
							(RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k])
									.substr(("" + o[k]).length)));
			return fmt;
		}
   
    
    
    
    </script>
    </html>
    